package shiyan6;
import java.io.*;

@SuppressWarnings("serial")
public class Teacher extends Ren implements Serializable {
private kecheng course;
    
    public Teacher(int id, String name, String gender) {
    	super(id,name,gender);
		
	}


	public kecheng getCourse() {
		return course;
	}
	public void setkecheng(kecheng course) {
		this.course = course;
	}

	public String toString() {
		return getname();
	}


	private String getname() {
		return name;
	}
}

